How to Install google-mock software package in Ubuntu 14.04 LTS (Trusty Tahr)

How to Install google-mock software package in Ubuntu 14.04 LTS (Trusty Tahr)

google-mock software package provides Googles framework for writing and using C++ mock classes, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install google-mock 

google-mock is installed in your system.

Make ensure the google-mock package were installed using the commands given below,

$ sudo dpkg-query -l | grep google-mock *

You will get with google-mock package name, version, architecture and description in a table

google-mock package basic information:

Distro Ubuntu 14 04 lts trusty tahr
Section Development
Package google-mock
Version 1.6.0+svn437-0ubuntu5
Description Googles framework for writing and using C++ mock classes
Sub Section devel


See Also, How to uninstall or remove google-mock software package from Ubuntu 14.04 LTS (Trusty Tahr)?